<?php
namespace app\admin\model;

use think\Model;

class Order extends Model
{
     public static function getOrderList($where)
     {
         return Order::name('order')
             ->alias("o")
             ->join('order_status s','s.status_id=o.status','left')
             ->where($where)
             ->paginate(4);
     }
}